#ifndef __FBOOT_H_
#define __FBOOT_H_
#include "fboot_cfg.h"

#if (FBOOT_USING_BOOTLOADER == 1)

int fboot_jump_app(uint32_t app_addr);

int fboot_get_key_status(void);

int fboot_wait_key(uint16_t wait_time);

void fboot_main(void);

int fboot_addr(uint32_t addr);
int fboot_fal(const char *part_name, uint32_t addr_offset);

#endif

int fboot_str2int(char *strbuffer);

#include "fstorage.h"
#include "fload.h"
#include "fdown.h"
#include "fcopy.h"
#include "fclear.h"
#include "fupdate.h"


#endif
